package com.daka.service;

import com.daka.entity.User;
import com.daka.tools.wechatPay.UserInfo;
import com.daka.vo.db.UserInfoVo;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by yangx
 * CreateTime: 2016/12/12 17:48
 */
public interface UserService {
    List<User> selectByTeam(Long teamId);

    User selectById(Long userId);

    User selectByName(String userName,Long teamId);

    boolean saveWX(UserInfo userInfo,Long userId);

    int save(User user);

    int updateById(User user);

    Integer selectUnDonationCount(Long teamId);

    List<User> findBiggerByMoney(BigDecimal money);

    List<UserInfoVo> findUserInfoVo();//全网个人排行


    List<User> selectByTeamDonated(Long teamId);
}
